package alihouse

import (
	"sync"
)

// AlibabaAlihouseExistinghomeHouseUpselfResult 结构体
type AlibabaAlihouseExistinghomeHouseUpselfResult struct {
	// code
	Code string `json:"code,omitempty" xml:"code,omitempty"`
	// 失败信息
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// true或false
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
	// 操作结果
	Data bool `json:"data,omitempty" xml:"data,omitempty"`
}

var poolAlibabaAlihouseExistinghomeHouseUpselfResult = sync.Pool{
	New: func() any {
		return new(AlibabaAlihouseExistinghomeHouseUpselfResult)
	},
}

// GetAlibabaAlihouseExistinghomeHouseUpselfResult() 从对象池中获取AlibabaAlihouseExistinghomeHouseUpselfResult
func GetAlibabaAlihouseExistinghomeHouseUpselfResult() *AlibabaAlihouseExistinghomeHouseUpselfResult {
	return poolAlibabaAlihouseExistinghomeHouseUpselfResult.Get().(*AlibabaAlihouseExistinghomeHouseUpselfResult)
}

// ReleaseAlibabaAlihouseExistinghomeHouseUpselfResult 释放AlibabaAlihouseExistinghomeHouseUpselfResult
func ReleaseAlibabaAlihouseExistinghomeHouseUpselfResult(v *AlibabaAlihouseExistinghomeHouseUpselfResult) {
	v.Code = ""
	v.Message = ""
	v.IsSuccess = false
	v.Data = false
	poolAlibabaAlihouseExistinghomeHouseUpselfResult.Put(v)
}
